package org.sapling.data.enums;

import org.sapling.data.api.ExpErrorCode;

/**
 * 
* @ClassName: ExceptionCodeEnum  
* @Description: 通用异常错误码
* @author DcfZero 
* @date 2020年6月27日  
*
 */
public enum ExceptionCodeEnum implements ExpErrorCode{
	
	//通用异常
	UNDEFIND("0","未知异常"),
	NO_SERVICE("404","网络异常"),
	;
	
	private final String code;
	
	private final String description;
	
	/**
	 * 
	 * @param code 错误码
	 * @param description 描述
	 */
	private ExceptionCodeEnum(final String code,final String description) {
		this.code = code;
		this.description = description;
	}
	
	@Override
	public String getCode() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public String getDescription() {
		// TODO Auto-generated method stub
		return null;
	}
	
}
